using System;
using Framework;
using UnityEngine;


namespace Game
{
    public class HeartBeatComponent : BaseComponent
    {
        public const float HeartBeatInterval = 2f;

        private float m_LastSendTime = 0f;

        public override bool NeedUpdate { get { return true; }}

        public override void Update(float elapseSeconds, float realElapseSeconds)
        {
            // if ((Time.time - this.m_LastSendTime) > HeartBeatInterval)
            // {
            //     this.m_LastSendTime = Time.time;
            //     GameEntry.Network.Session.Call(new C2G_HeartBeat());
            // }
        }
    }
}